package com.qianfeng.wuyang.himalaya.activity;

import com.qianfeng.wuyang.himalaya.bean.broadcastbean.NationEntity;
import com.qianfeng.wuyang.himalaya.bean.broadcastbean.ProvinceListEntity;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by wuyang on 2016/12/7.
 */

public interface BCProvinceService {
    //省市列表：http://live.ximalaya.com/live-web/v1/getProvinceList
    @GET("live-web/v1/getProvinceList")
    Call<ProvinceListEntity> getList();
    //省市电台：http://live.ximalaya.com/live-web/v1/getRadiosListByType?pageNum=1&pageSize=20&provinceCode=110000&radioType=2
    @GET("live-web/v1/getRadiosListByType")
    Call<NationEntity> getData(@Query("pageNum") int page, @Query("pageSize")int pageSize, @Query("provinceCode")int provinceCode, @Query("radioType")int radioType);

}
